Azure OpenAI API Version 2024-12-01-preview (preview:2024-12-01)

2025/01/07 • 28 new methods

Batch_List (new)
Description Gets a list of all batches owned by the Azure OpenAI resource.
Reference Link ¶

⚼ Request

GET:  /batches
{
after: string ,
limit: integer ,
$filter: string ,
$orderby: string ,
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
data:
[
{
id: string ,
object: enum ,
endpoint: string ,
errors:
{
object: string ,
data:
{
code: string ,
message: string ,
param: string ,
line: string ,
}
,
}
,
input_file_id: string ,
completion_window: string ,
status: enum ,
output_file_id: string ,
error_file_id: string ,
created_at: integer ,
in_progress_at: integer ,
expires_at: integer ,
finalizing_at: integer ,
completed_at: integer ,
failed_at: integer ,
expired_at: integer ,
cancelling_at: integer ,
cancelled_at: integer ,
request_counts:
{
total: integer ,
completed: integer ,
failed: integer ,
}
,
metadata: object ,
}
,
]
,
first_id: string ,
last_id: string ,
has_more: boolean ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Batch_Create (new)
Description Creates and executes a batch from an uploaded file of requests. Response includes details of the enqueued job including job status. The ID of the result file is added to the response once complete.
Reference Link ¶

⚼ Request

POST:  /batches
{
api-version: string ,
createBatchRequest:
{
input_file_id: string ,
endpoint: string ,
completion_window: string ,
metadata: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
deployment-enqueued-tokens: integer ,
deployment-maximum-enqueued-tokens: integer ,
}
,
$schema:
{
id: string ,
object: enum ,
endpoint: string ,
errors:
{
object: string ,
data:
{
code: string ,
message: string ,
param: string ,
line: string ,
}
,
}
,
input_file_id: string ,
completion_window: string ,
status: enum ,
output_file_id: string ,
error_file_id: string ,
created_at: integer ,
in_progress_at: integer ,
expires_at: integer ,
finalizing_at: integer ,
completed_at: integer ,
failed_at: integer ,
expired_at: integer ,
cancelling_at: integer ,
cancelled_at: integer ,
request_counts:
{
total: integer ,
completed: integer ,
failed: integer ,
}
,
metadata: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Batch_Get (new)
Description Gets details for a single batch specified by the given batch-id.
Reference Link ¶

⚼ Request

GET:  /batches/{batch-id}
{
batch-id: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
object: enum ,
endpoint: string ,
errors:
{
object: string ,
data:
{
code: string ,
message: string ,
param: string ,
line: string ,
}
,
}
,
input_file_id: string ,
completion_window: string ,
status: enum ,
output_file_id: string ,
error_file_id: string ,
created_at: integer ,
in_progress_at: integer ,
expires_at: integer ,
finalizing_at: integer ,
completed_at: integer ,
failed_at: integer ,
expired_at: integer ,
cancelling_at: integer ,
cancelled_at: integer ,
request_counts:
{
total: integer ,
completed: integer ,
failed: integer ,
}
,
metadata: object ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Batch_Cancel (new)
Description Cancels the processing of the batch specified by the given batch-id.
Reference Link ¶

⚼ Request

POST:  /batches/{batch-id}/cancel
{
batch-id: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
object: enum ,
endpoint: string ,
errors:
{
object: string ,
data:
{
code: string ,
message: string ,
param: string ,
line: string ,
}
,
}
,
input_file_id: string ,
completion_window: string ,
status: enum ,
output_file_id: string ,
error_file_id: string ,
created_at: integer ,
in_progress_at: integer ,
expires_at: integer ,
finalizing_at: integer ,
completed_at: integer ,
failed_at: integer ,
expired_at: integer ,
cancelling_at: integer ,
cancelled_at: integer ,
request_counts:
{
total: integer ,
completed: integer ,
failed: integer ,
}
,
metadata: object ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Files_List (new)
Description Gets a list of all files owned by the Azure OpenAI resource. These include user uploaded content like files with purpose "fine-tune" for training or validation of fine-tunes models as well as files that are generated by the service such as "fine-tune-results" which contains various metrics for the corresponding fine-tune job.
Reference Link ¶

⚼ Request

GET:  /files
{
purpose: string ,
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
data:
[
{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
bytes: integer ,
purpose: enum ,
filename: string ,
status_details: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Files_Upload (new)
Description Creates a new file entity by uploading data from a local machine. Uploaded files can, for example, be used for training or evaluating fine-tuned models.
Reference Link ¶

⚼ Request

POST:  /files
{
api-version: string ,
purpose: string ,
file: file ,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
bytes: integer ,
purpose: enum ,
filename: string ,
status_details: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Files_Import (new)
Description Creates a new file entity by importing data from a provided url. Uploaded files can, for example, be used for training or evaluating fine-tuned models.
Reference Link ¶

⚼ Request

POST:  /files/import
{
api-version: string ,
fileImport:
{
purpose: enum ,
filename: string ,
content_url: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
bytes: integer ,
purpose: enum ,
filename: string ,
status_details: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Files_Get (new)
Description Gets details for a single file specified by the given file-id including status, size, purpose, etc.
Reference Link ¶

⚼ Request

GET:  /files/{file-id}
{
file-id: string ,
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
bytes: integer ,
purpose: enum ,
filename: string ,
status_details: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Files_Delete (new)
Description Deletes the file with the given file-id. Deletion is also allowed if a file was used, e.g., as training file in a fine-tune job.
Reference Link ¶

⚼ Request

DELETE:  /files/{file-id}
{
file-id: string ,
api-version: string ,
}

⚐ Response (200)

{
object: string ,
deleted: boolean ,
id: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Files_GetContent (new)
Description Gets the content of the file specified by the given file-id. Files can be user uploaded content or generated by the service like result metrics of a fine-tune job.
Reference Link ¶

⚼ Request

GET:  /files/{file-id}/content
{
file-id: string ,
api-version: string ,
}

⚐ Response (200)

{
$schema: file ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
FineTuning_List (new)
Description Gets a list of all fine-tune jobs owned by the Azure OpenAI resource. The details that are returned for each fine-tune job contain besides its identifier the base model, training and validation files, hyper parameters, time stamps, status and events. Events are created when the job status changes, e.g. running or complete, and when results are uploaded.
Reference Link ¶

⚼ Request

GET:  /fine_tuning/jobs
{
after: string ,
limit: integer ,
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
data:
[
{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
model: string ,
fine_tuned_model: string ,
training_file: string ,
validation_file: string ,
result_files:
[
string ,
]
,
finished_at: integer ,
organisation_id: string ,
trained_tokens: integer ,
error:
{
code: string ,
message: string ,
param: string ,
}
,
estimated_finish: integer ,
hyperparameters:
{
n_epochs: integer ,
batch_size: integer ,
learning_rate_multiplier: number ,
}
,
suffix: string ,
seed: integer ,
integrations:
[
{
type: enum ,
wandb:
{
project: string ,
name: string ,
entity: string ,
tags:
[
string ,
]
,
}
,
}
,
]
,
}
,
]
,
has_more: boolean ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
FineTuning_Create (new)
Description Creates a job that fine-tunes a specified model from a given training file. Response includes details of the enqueued job including job status and hyper parameters. The name of the fine-tuned model is added to the response once complete.
Reference Link ¶

⚼ Request

POST:  /fine_tuning/jobs
{
api-version: string ,
fineTuningJob:
{
model: string ,
training_file: string ,
validation_file: string ,
hyperparameters:
{
n_epochs: integer ,
batch_size: integer ,
learning_rate_multiplier: number ,
}
,
suffix: string ,
seed: integer ,
integrations:
[
{
type: enum ,
wandb:
{
project: string ,
name: string ,
entity: string ,
tags:
[
string ,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
model: string ,
fine_tuned_model: string ,
training_file: string ,
validation_file: string ,
result_files:
[
string ,
]
,
finished_at: integer ,
organisation_id: string ,
trained_tokens: integer ,
error:
{
code: string ,
message: string ,
param: string ,
}
,
estimated_finish: integer ,
hyperparameters:
{
n_epochs: integer ,
batch_size: integer ,
learning_rate_multiplier: number ,
}
,
suffix: string ,
seed: integer ,
integrations:
[
{
type: enum ,
wandb:
{
project: string ,
name: string ,
entity: string ,
tags:
[
string ,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
FineTuning_Get (new)
Description Gets details for a single fine-tune job specified by the given fine-tune-id. The details contain the base model, training and validation files, hyper parameters, time stamps, status and events. Events are created when the job status changes, e.g. running or complete, and when results are uploaded.
Reference Link ¶

⚼ Request

GET:  /fine_tuning/jobs/{fine-tuning-job-id}
{
fine-tuning-job-id: string ,
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
model: string ,
fine_tuned_model: string ,
training_file: string ,
validation_file: string ,
result_files:
[
string ,
]
,
finished_at: integer ,
organisation_id: string ,
trained_tokens: integer ,
error:
{
code: string ,
message: string ,
param: string ,
}
,
estimated_finish: integer ,
hyperparameters:
{
n_epochs: integer ,
batch_size: integer ,
learning_rate_multiplier: number ,
}
,
suffix: string ,
seed: integer ,
integrations:
[
{
type: enum ,
wandb:
{
project: string ,
name: string ,
entity: string ,
tags:
[
string ,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
FineTuning_Delete (new)
Description Deletes the fine-tune job specified by the given fine-tune-id.
Reference Link ¶

⚼ Request

DELETE:  /fine_tuning/jobs/{fine-tuning-job-id}
{
fine-tuning-job-id: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
FineTuning_Cancel (new)
Description Cancels the processing of the fine-tune job specified by the given fine-tune-id.
Reference Link ¶

⚼ Request

POST:  /fine_tuning/jobs/{fine-tuning-job-id}/cancel
{
fine-tuning-job-id: string ,
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
model: string ,
fine_tuned_model: string ,
training_file: string ,
validation_file: string ,
result_files:
[
string ,
]
,
finished_at: integer ,
organisation_id: string ,
trained_tokens: integer ,
error:
{
code: string ,
message: string ,
param: string ,
}
,
estimated_finish: integer ,
hyperparameters:
{
n_epochs: integer ,
batch_size: integer ,
learning_rate_multiplier: number ,
}
,
suffix: string ,
seed: integer ,
integrations:
[
{
type: enum ,
wandb:
{
project: string ,
name: string ,
entity: string ,
tags:
[
string ,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
FineTuning_GetCheckpoints (new)
Description Gets the checkpoints for the fine-tune job specified by the given fine-tune-id. Checkpoints are created at the end of successful epochs during training.
Reference Link ¶

⚼ Request

GET:  /fine_tuning/jobs/{fine-tuning-job-id}/checkpoints
{
fine-tuning-job-id: string ,
after: string ,
limit: integer ,
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
data:
[
{
object: enum ,
id: string ,
created_at: integer ,
fine_tuned_model_checkpoint: string ,
step_number: integer ,
metrics: object ,
fine_tuning_job_id: string ,
}
,
]
,
has_more: boolean ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
FineTuning_GetEvents (new)
Description Gets the events for the fine-tune job specified by the given fine-tune-id. Events are created when the job status changes, e.g. running or complete, and when results are uploaded.
Reference Link ¶

⚼ Request

GET:  /fine_tuning/jobs/{fine-tuning-job-id}/events
{
fine-tuning-job-id: string ,
after: string ,
limit: integer ,
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
data:
[
{
object: enum ,
id: string ,
created_at: integer ,
level: enum ,
message: string ,
type: enum ,
data: string ,
}
,
]
,
has_more: boolean ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
IngestionJobs_List (new)
Description Lists the ingestion jobs.
Reference Link ¶

⚼ Request

GET:  /ingestion/jobs
{
api-version: string ,
mgmt-user-token: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
kind: enum ,
jobId: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
IngestionJobs_Create (new)
Description Creates an ingestion job with the specified job id.
Reference Link ¶

⚼ Request

PUT:  /ingestion/jobs/{job-id}
{
api-version: string ,
job-id: string ,
mgmt-user-token: string ,
aml-user-token: string ,
ingestionJob:
{
kind: enum ,
jobId: string ,
}
,
}

⚐ Response (200)

{
kind: enum ,
jobId: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
IngestionJobs_Get (new)
Description Gets the details of the specified job id.
Reference Link ¶

⚼ Request

GET:  /ingestion/jobs/{job-id}
{
api-version: string ,
job-id: string ,
}

⚐ Response (200)

{
kind: enum ,
jobId: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
IngestionJobRuns_List (new)
Description Lists the runs of the specified job id.
Reference Link ¶

⚼ Request

GET:  /ingestion/jobs/{job-id}/runs
{
api-version: string ,
job-id: string ,
mgmt-user-token: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
jobId: string ,
runId: string ,
status: enum ,
error:
{
message: string ,
innerErrors:
[
string ,
]
,
}
,
warnings:
[
string ,
]
,
progress:
{
stageProgress:
[
{
name: string ,
totalItems: integer ,
processedItems: integer ,
state: enum ,
subStageProgress:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
IngestionJobRuns_Get (new)
Description Gets the details of the specified run id as part of the specified job id.
Reference Link ¶

⚼ Request

GET:  /ingestion/jobs/{job-id}/runs/{run-id}
{
api-version: string ,
job-id: string ,
run-id: string ,
mgmt-user-token: string ,
}

⚐ Response (200)

{
jobId: string ,
runId: string ,
status: enum ,
error:
{
message: string ,
innerErrors:
[
string ,
]
,
}
,
warnings:
[
string ,
]
,
progress:
{
stageProgress:
[
{
name: string ,
totalItems: integer ,
processedItems: integer ,
state: enum ,
subStageProgress:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Models_List (new)
Description Gets a list of all models that are accessible by the Azure OpenAI resource. These include base models as well as all successfully completed fine-tuned models owned by the Azure OpenAI resource.
Reference Link ¶

⚼ Request

GET:  /models
{
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
data:
[
{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
model: string ,
fine_tune: string ,
capabilities:
{
fine_tune: boolean ,
inference: boolean ,
completion: boolean ,
chat_completion: boolean ,
embeddings: boolean ,
}
,
lifecycle_status: enum ,
deprecation:
{
fine_tune: integer ,
inference: integer ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
Models_Get (new)
Description Gets details for the model specified by the given modelId.
Reference Link ¶

⚼ Request

GET:  /models/{model-id}
{
model-id: string ,
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
model: string ,
fine_tune: string ,
capabilities:
{
fine_tune: boolean ,
inference: boolean ,
completion: boolean ,
chat_completion: boolean ,
embeddings: boolean ,
}
,
lifecycle_status: enum ,
deprecation:
{
fine_tune: integer ,
inference: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
UploadFile_Start (new)
Description An intermediate Upload object is created, allowing you to add Parts to it. Currently, an Upload size can be a maximum of 9 GB in total and will expire two hours after being created. After the Upload is completed a File object will be generated, containing all the uploaded parts. This File object can then be used across our platform just like any other file.
Reference Link ¶

⚼ Request

POST:  /uploads
{
api-version: string ,
requestBody:
{
purpose: enum ,
filename: string ,
bytes: integer ,
mime_type: string ,
}
,
}

⚐ Response (200)

{
$headers:
{
location: string ,
}
,
$schema:
{
object: enum ,
created_at: integer ,
id: string ,
bytes: integer ,
filename: string ,
purpose: enum ,
status: enum ,
expires_at: integer ,
file:
{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
bytes: integer ,
purpose: enum ,
filename: string ,
status_details: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
UploadFile_Cancel (new)
Description Cancels the Upload, and will lead to all uploaded parts to be deleted asynchronously. No Parts may be added after an Upload is cancelled.
Reference Link ¶

⚼ Request

POST:  /uploads/{upload-id}/cancel
{
upload-id: string ,
api-version: string ,
}

⚐ Response (200)

{
object: enum ,
created_at: integer ,
id: string ,
bytes: integer ,
filename: string ,
purpose: enum ,
status: enum ,
expires_at: integer ,
file:
{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
bytes: integer ,
purpose: enum ,
filename: string ,
status_details: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
UploadFile_Complete (new)
Description This completes the Upload, and the returned Upload object contains a nested File object that is ready for use across the platform. You can define the order of the Parts by providing an ordered list of Part IDs. The total number of bytes uploaded must match the size originally specified when creating the Upload object. After this operation no additional Parts can be added once the Upload is completed.
Reference Link ¶

⚼ Request

POST:  /uploads/{upload-id}/complete
{
upload-id: string ,
api-version: string ,
requestBody:
{
part_ids:
[
string ,
]
,
md5: string ,
}
,
}

⚐ Response (200)

{
object: enum ,
created_at: integer ,
id: string ,
bytes: integer ,
filename: string ,
purpose: enum ,
status: enum ,
expires_at: integer ,
file:
{
object: enum ,
created_at: integer ,
id: string ,
status: enum ,
bytes: integer ,
purpose: enum ,
filename: string ,
status_details: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}
UploadFile_Part (new)
Description Adds a Part to an Upload object, where each Part represents a segment of the file you are uploading. Each Part can be up to the standard size limit for file upload, based on the File Purpose. You can continue adding Parts until reaching the Upload size limit of 9 GB.
Reference Link ¶

⚼ Request

POST:  /uploads/{upload-id}/parts
{
upload-id: string ,
api-version: string ,
data: file ,
}

⚐ Response (200)

{
object: enum ,
created_at: integer ,
id: string ,
upload_id: string ,
azure_block_id: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
innererror: string ,
}
,
}
,
}